package com.wyg.eurekaclient.service;

import com.wyg.common.libarary.entity.Student;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(value = "read-business")
public interface StudentFeign {
    @GetMapping("/student/list")
    List<Student> getList();
}
